
let index= {
    namespace: 'index',
    state:{
      num:0
    },
    effects:{
      //异步action
        * changeNum(payload,{select,put,call}) {
            yield  put ({
                type:'addNum',
                payload
            })
        }
    },
    reducers: {
        addNum(state,{ payload }) {
          
        }
    }
};
export  default  index;
